<%-- 
    Document   : menu
    Created on : 22/06/2012, 01:54:52 PM
    Author     : Alvin Josue Canul Vazquez
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@taglib uri="/struts-tags" prefix="s" %>

<div id="top-nav" class="navbar navbar-inverse navbar-static-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Fase 2</a>
    </div>
    <div class="navbar-collapse collapse">
      <ul class="nav navbar-nav navbar-left">
        
        <li><s:a action="home">Home</s:a></li>
        <li class="active" id="transitions"><a href="#">Transition</a></li>
        <li id="implements"><a href="#">Implementation</a></li>
         <s:if test="%{#session.usuarioSession.cop == true}">
        <li id="cop">
<%--                 <s:a action="cop"> --%>
                   <a href="#"> Client Operational Profile</a>
<%--                     <s:param value="false" name="exportar"/> --%>
<%--                 </s:a> --%>
            
        </li>
        </s:if>
       <li id="foro"><a href="#">Foro</a></li>
       <s:if test="%{#session.usuarioSession.SU == true}">
            <li>
                <s:a action="AdminUsers">
                    Assign Knkeys
                    <s:param value="1" name="direccionAction"/>
                </s:a>
            </li>
            <li>
                <s:a action="Usuarios">
                    Admin Users
                    <s:param value="1" name="direccionAction"/>
                </s:a>
            </li>
        </s:if>
        <li><s:a action="exits">
                EXIT
                <s:param value="" name=""/>
            </s:a>
        </li>
      </ul>
    </div>
  </div><!-- /container -->
</div>

<%-- <s:div>
    <ul id="menu">
        <li>
            <s:a action="home">
                HOME
            </s:a>
        </li>
        <li>
            <s:if test="%{#session.usuarioSession.Tran == true}">
                <s:a action="transition">
                    TRANSITION
                </s:a>
            </s:if>
        </li> 
        <li>
            <s:if test="%{#session.usuarioSession.Impl == true}">
                <s:a action="implement">
                    IMPLEMENTATION
                    <s:param value="7" name="direccionAction"/>
                </s:a>
            </s:if>
        </li>
        <li>
            <s:if test="%{#session.usuarioSession.COP == true}">
                <s:a action="cop">
                    CLIENT OPERATIONAL PROFILE
                    <s:param value="false" name="exportar"/>
                </s:a>
            </s:if>
        </li>
        <s:if test="%{#session.usuarioSession.SU == true}">
            <li>
                <s:a action="AdminUsers">
                    Assign Knkeys
                    <s:param value="1" name="direccionAction"/>
                </s:a>
            </li>
            <li>
                <s:a action="Usuarios">
                    ADMIN USERS
                    <s:param value="1" name="direccionAction"/>
                </s:a>
            </li>
        </s:if>

        <li>
            <s:a action="exits">
                EXIT
                <s:param value="" name=""/>
            </s:a>
        </li>
    </ul>
</s:div>
 --%>
